{% extends "website/base.html" %} {% block content %}
🧷

Audit Log

Strong compliance log — who edited what
Back
{% for ev in events %}
{{ ev.created_at|date:"M d, Y H:i" }} · {{ ev.action|upper }}
{% if ev.actor %}{{ ev.actor.username }}{% else %}System{% endif %} · {{ ev.model_label }} #{{ ev.object_id }} {% if ev.ip_address %} · {{ ev.ip_address }}{% endif %}
{% if ev.changes and ev.action == "update" %}
Updated fields: {% for k,v in ev.changes.items %} {{ k }} {% endfor %}
{% endif %}
{{ ev.object_repr }}
{% empty %}
No audit events.
{% endfor %}
{% endblock %}